﻿using System.Windows;
using System.Windows.Controls;

namespace QH_MSS_WPF_Core.UserControls
{
    /// <summary>
    /// WarningDataGridUserControl.xaml 的交互逻辑
    /// </summary>
    public partial class WarningDataGridUserControl : UserControl
    {
        public WarningDataGridUserControl()
        {
            InitializeComponent();
            WarningMessage.DataContext = this;
        }



        public static readonly DependencyProperty DataProperty = DependencyProperty.Register("WarningData", typeof(IEnumerable<Object>), typeof(WarningDataGridUserControl));
        public IEnumerable<Object> WarningData
        {
            get { return (IEnumerable<Object>)GetValue(DataProperty); }
            set { SetValue(DataProperty, value); }
        }
    }
}
